package com.fitness.fitness.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fitness.fitness.modal.course.dto.CourseCommentDto;
import com.fitness.fitness.modal.course.entity.CourseComment;
import com.fitness.fitness.modal.course.params.CourseCommentQueryParams;
import com.fitness.fitness.modal.course.vo.CourseCommentVO;

public interface ICourseCommentService extends IService<CourseComment> {
    Page<CourseCommentVO> getCourseCommentPage(CourseCommentQueryParams queryParams);

    boolean addCourseComment(CourseCommentDto commentDto);

    boolean updateCourseComment(CourseCommentDto commentDto);
}
